package cn.com.server.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.com.server.entity.RoleResource;

/**
 * <p>
  * 角色资源绑定表 Mapper 接口
 * </p>
 *
 * @author qing
 * @since 2017-11-20
 */
public interface RoleResourceDao{
	
	public int insert(RoleResource entity);
	
	public int update(RoleResource entity);

	public int updateByRoleId(Long roleId);
	
	public List<RoleResource> selectRoleResourceListByRoleId(@Param("roleId")Long roleId);
}